<?php

/**
 * @copyright   FOSP
 * @version     20120411
 * @todo        Abstract access to table rating_player_statistic
 * @name        Fpt_Business_RatingPlayerStatistic_Adapter_Abstract
 * @author      QuangTM 
 */
abstract class Fpt_Business_RatingPlayerStatistic_Adapter_Abstract
{

    /**
     *
     * @var Fpt_Business_RatingPlayerStatistic_Adapter_Abstract
     */
    protected static $instance;

    protected function __construct()
    {
        
    }

    /**
     * Get Fpt_Business_RatingPlayerStatistic_Adapter_Abstract's instance
     * @return Fpt_Business_RatingPlayerStatistic_Adapter_Abstract
     * @author QuangTM
     */
    abstract static public function getInstance();

    /**
     * Get statistic rating player
     * @param int $matchID
     * @return array|boolean 
     * @author QuangTM
     */
    public function getRatingPlayerStatistic($matchID)
    {
        return FALSE;
    }

    /**
     * Insert/Update rating player statistic
     * @param array $params
     * @return int|boolean 
     * @author QuangTM
     */
    public function insertRatingPlayerStatistic($params)
    {
        return FALSE;
    }

}